package com.empire.module.member.controller.admin.personwarningsummary.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 人员预警统计汇总新增/修改 Request VO")
@Data
public class PersonWarningSummarySaveReqVO {

    @Schema(description = "人员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5077")
    private Long id;

    @Schema(description = "总预警数", requiredMode = Schema.RequiredMode.REQUIRED, example = "32416")
    @NotNull(message = "总预警数不能为空")
    private Integer totalWarnCount;

    @Schema(description = "非聚集预警数", requiredMode = Schema.RequiredMode.REQUIRED, example = "7792")
    @NotNull(message = "非聚集预警数不能为空")
    private Integer individualCount;

    @Schema(description = "聚集参与次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "24919")
    @NotNull(message = "聚集参与次数不能为空")
    private Integer gatherCount;

}